<template>
    <div>
        <h1>登录</h1>
        <button @click="goregister">立即注册</button>
    </div>
</template>

<script>
    export default {
        methods:{
            goregister(){
                this.$router.push({
                    name:"register"
                })
            }
        }
    }
</script>

<style lang="scss" scoped>

</style>